﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QD.LopPlat.UI.Model
{
    public class Sys_Message
    {
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }
        public string ProCode { get; set; }
        /// <summary>
        /// 主键编号
        /// </summary>
        public string FlagValue { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string MesTitle { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string MesContent { get; set; }
        public bool IsRead { get; set; }
        /// <summary>
        /// 是否被查看
        /// </summary>
        public bool IsViewed { get; set; }
        /// <summary>
        /// 接收人
        /// </summary>
        public string Recipient { get; set; }
        public bool IsPrompt { get; set; }
        public bool IsSMS { get; set; }
        public string Creator { get; set; }
        public string CreatorName { get; set; }
        public DateTime CreateDate { get; set; }
        public string QfCode { get; set; }
        public string QfName { get; set; }
        /// <summary>
        /// 类型（0表单1消息2申请组织3邀请组织4消息助手）
        /// </summary>
        public int Type { get; set; }
    }
}
